themes: Fix and improve linked button style
authornana-4 <hnmaigo@gmail.com>
Mon, 8 Apr 2019 15:40:38 +0000 (00:40 +0900)
committernana-4 <hnmaigo@gmail.com>
Mon, 8 Apr 2019 17:27:41 +0000 (02:27 +0900)
commitca233ad9aee7d2f924aafd37d9763f9dd68119ca
tree768bfc75db063cbda9cb1e8799ff99a62750a116
parent2594593de2a77500afb481f7ebee652a0d9c27d4
themes: Fix and improve linked button style

Instead of re-styling the border and radius of the linked buttons
depending on the position (middle, first, last, or only child), just
remove the border and radius in a specific direction when the button is
`:not(:first-child)` and/or `:not(:last-child)`.

This properly handles the style of linked buttons in all positions
-- middle, first, last, and only child.

Fixes #1294
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css